<template>
  <div id="editorDiv">6545646564656</div>
</template>

<script>
    export default {
        name: "test-onlyoffice-edit",
        data(){
          return{

          }
        },
        created(){
          new DocsAPI.DocEditor("editorDiv",{
              "document": {
                "fileType": "docx",
                "key": "E7FAFC9C2299978",
                "title": "Example Document Title.docx",
                "url": "http://192.168.137.11:9000/my123/456.docx?Content-Disposition=attachment%3B%20filename%3D%22456.docx%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20210513%2F%2Fs3%2Faws4_request&X-Amz-Date=20210513T013747Z&X-Amz-Expires=432000&X-Amz-SignedHeaders=host&X-Amz-Signature=e09cd82ec4ad18f2604e4618231df484b659e81b7a758ad1c43f486daed8e8e3"
              },
              "documentType": "text",
              "height": "100%",
              "width": "100%"
            });
        }
    }
</script>

<style scoped>

</style>
